package cn.liumouren.jzxd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import cn.liumouren.jzxd.common.utils.PageUtils;
import cn.liumouren.jzxd.entity.Likes;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author Freeman Liu
 * @email llw599502537@gmail.com
 * @date 2020-10-30 16:28:20
 */
public interface LikesService extends IService<Likes> {

    PageUtils queryPage(Map<String, Object> params);

    List<Likes> getAllLikes(String zoneId);

    Likes findByUserIdAndZoneId(String zoneId, String userId);

    void notLikeNoMore(String zoneId, String userId);
}

